package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.IndexNavDto;
import com.hdax.dm.dto.ItemDto;
import com.hdax.dm.entity.item.DmItem;
import com.hdax.dm.entity.item.DmItemType;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class ItemDtoMapper {

    public abstract ItemDto toTarget(DmItem item);

    public abstract List<ItemDto> toTargets(List<DmItem> itemList);
}
